package com.bball.court.controller;

import com.bball.court.http.AddPlayerToCourtRequestCallbacks;
import com.bball.court.http.DeletePlayerToCourtRequestCallbacks;
import com.bball.court.http.GetCourtsRequestCallbacks;

public interface CourtController {

    void findClosestCourt(GetCourtsRequestCallbacks callbacks, double latitude, double longitude, int distanceInKm);

    void findClosestCourt(GetCourtsRequestCallbacks callbacks, double latitude, double longitude);

    void canceltasks();

    void addSuggestedCourt(String name, String fileUri, double[] latLong, String[] address, boolean isFree, boolean isOutdoor);

    void addPlayer(String courtId, AddPlayerToCourtRequestCallbacks addPlayerCallback);

    void removePlayer(String courtId, DeletePlayerToCourtRequestCallbacks deletePlayerCallback);
}
